package com.easyadmin.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component("adminConfig")
public class AdminConfig {
    @Value("${isTest:''}")
    private Boolean isTest;

    @Value("${file.download.temp:}")
    private String fileDownloadTemp;

    @Value("${runTask:}")
    private Boolean runTask;

    @Value("${demo_show:false}")
    private Boolean demoShow;

    public Boolean getTest() {
        return isTest;
    }

    public String getFileDownloadTemp() {
        return fileDownloadTemp;
    }

    public Boolean getRunTask() {
        return runTask;
    }

    public Boolean getDemoShow() {
        return demoShow;
    }
}
